package com.dqhl.community.model;

import java.util.Arrays;

/**
 * Created by LIENLIN on 2016/9/8.
 */
public class ChatBean {

    public String msgId;
    public String message;
    public byte[] content;//二进制
    public String contentType;//图片类型
    public String sendId;

    public ChatBean(String msgId, String message, byte[] content,String contentType, String sendId) {
        this.msgId = msgId;
        this.message = message;
        this.content = content;
        this.contentType=contentType;
        this.sendId = sendId;
    }

    @Override
    public String toString() {
        return "ChatBean{" +
                "msgId='" + msgId + '\'' +
                ", message='" + message + '\'' +
                ", content=" + Arrays.toString(content) +
                ", sendId='" + sendId + '\'' +
                '}';
    }
}
